// 引入工具函数
import request from '@/utils/request'

// 首页报表接口
export const getTatalDataReq = params => {
  return request({
    url: '/order/totaldata',
    method: 'get',
    params,
  })
}

// 订单报表接口
export const getOrderTotalReq = params => {
  return request({
    method: 'get',
    url: '/order/ordertotal',
    params,
  })
}
